package org.jmh.base.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageInfo<T> {
    // 如果 total = 0 那么返回是的是一个 new PageInfo<T>()
    private Long total = 0L;
    private List<T> list = new ArrayList<>();
}
